package com.neucloud.da.edgeside.model.utils;

import lombok.extern.slf4j.Slf4j;

import java.util.UUID;

@Slf4j
public class UUIDUtil {

    /**
     * 获取uuid
     */
    public static String getId() {
        //生成唯一id
        UUID uuid = UUID.randomUUID();
        //去除“-”和空格
        return uuid.toString().replace("-", "");
    }
}
